package com.lm.dao;

import java.util.List;

import com.lm.model.Suggest;

public interface SuggestDAO {
	public List getSuggestListByUserID(int userID) throws Throwable ;

	public List getAllSuggest() throws Throwable ;

	public List getAllShowedSuggest() throws Throwable ;

	public Suggest getSuggestByUserIDAndSuggestID(int userID, String suggestID)
			throws Throwable ;

	public Suggest getSuggestBySuggestID(String suggestID) throws Throwable ;

	public void addSuggestByUserID(Suggest suggest, int userID)
			throws Throwable ;

	public void editSuggestByUserIDAndSuggestID(Suggest suggest, int userID,
			String suggestID) throws Throwable ;

	public void deleteSuggestBySuggestID(int suggestID) throws Throwable;


}
